package com.cleaningcloud.erp.domain.excelImport;

import com.cleaningcloud.common.core.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProcureExcelImport {

    @Excel(name = "供应商编号")
    private String supplierNo;
    @Excel(name = "采购日期", width = 30, dateFormat = "yyyy-MM-dd", sort = 5)
    private Date procureTime;
    @Excel(name = "物流费用")
    private BigDecimal logisticsCost;
    @Excel(name = "物流费用分摊方式",
            prompt = "1=按重量分摊,2=按体积分摊",
            combo = {"1", "2"}
    )
    private Long logisticsMethod;
    @Excel(name = "其他费用")
    private BigDecimal otherCost;
    @Excel(name = "其他费用分摊方式",
            prompt = "1=按重量分摊,2=按体积分摊",
            combo = {"1", "2"}
    )
    private Long otherMethod;
    @Excel(name = "商品编号")
    private String commodityNo;
    //    @Excel(name = "采购单价")
    private BigDecimal procurePrice;
    @Excel(name = "采购数量")
    private int procureNumber;
}
